package cn.com.mma.mobile.tracking.api;

/**
 * 供全局使用的静态变量或者静态方法
 * 
 * @author lincoln
 * 
 */
public class Global {
	/**
	 * sdkconfig.xml 对应字段 Begin
	 */

	/**
	 * 对应<offlineCache>中的<length>字段,表示：大于该值时立即发送消息
	 */
	public static int OFFLINECACHE_LENGTH = 10;
	/**
	 * 对应<offlineCache>中的<queueExpirationSecs>字段
	 */
	public static int OFFLINECACHE_QUEUEEXPIRATIONSECS = 20;
	/**
	 * 对应<offlineCache>中的<timeout>字段
	 */
	public static int OFFLINECACHE_TIMEOUT = 10;
	/**
	 * 先获得位置信息，如需要才发送给服务器，这样能减少延迟。
	 */
	public static String location = "";

	/**
	 * sdkconfig.xml 对应字段 End
	 */

	/**
	 * sdkconfig.xml 对应字段Key Begin
	 */
	public static final String TRACKING_MAC = "MAC";
	public static final String TRACKING_LOCATION = "LBS";
	public static final String TRACKING_OS = "OS";
	public static final String TRACKING_OS_VERION = "OSVS";
	public static final String TRACKING_WIFI = "WIFI";
	public static final String TRACKING_NAME = "ANAME";
	public static final String TRACKING_KEY = "AKEY";
	public static final String TRACKING_SCWH = "SCWH";
	public static final String TRACKING_TIMESTAMP = "TS";
	public static final String TRACKING_ANDROIDID = "ANDROIDID";
	public static final String TRACKING_TERM = "TERM";
	public static final String TRACKING_IMEI = "IMEI";
	public static final String TRACKING_ODIN = "ODIN";
	public static final String TRACKING_MUID = "MUID"; 
	public static final String TRACKING_MUDS = "MUDS"; 
	public static final String TRACKING_URL = "URL";
	/**
	 * SDK版本
	 */
	public static final String TRACKING_SDKVS ="SDKVS";
	public static final String TRACKING_SDKVS_VALUE ="1.2";
	
	
	/**
	 * sdkconfig.xml 对应字段Key End
	 */

	
	
	/**
	 * 新版常量 Begin
	 */
	public static final int NORMAL_MESSAGE_DEFAULT_PEROID = 60*60*1000;
	public static final int FAILED_MESSAGE_DEFAULT_PEROID = 60*60*1000;
	public static final int LOCATIOON_UPDATE_INTERVAL= 60*60*1000;

//	public static final int NORMAL_MESSAGE_DEFAULT_PEROID = 1*60*1000;
//	public static final int FAILED_MESSAGE_DEFAULT_PEROID = 1*60*1000;
//	public static final int LOCATIOON_UPDATE_INTERVAL= 1*60*1000;

	/**
	 * 新版常量 End
	 */
	
}
